GOCMD=go
GOBUILD=$(GOCMD) build
GOTEST=$(GOCMD) test
GORUN=${GOCMD} run
GODIST=./dist
GOSERVICE=./service
GOPATH=C:\Users\long\go

buildGateway:
	$(GOBUILD) ./gateway.go


buildService:
	$(GOBUILD)  $(GOSERVICE)/*.go

buildServiceProto:
	protoc -I$(GOPATH)/src -I.  -I$(GOPATH)/include/ -I$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:./design/ --swagger_out=./swagger --grpc-gateway_out=./design/ ./*.proto





runSwagger:
	$(GORUN) ./swagger/server.go

runGateway:
	$(GORUN) ./gateway.go


install:
	gopm install
